var currentUrl = window.location.href;

function refresh(divId, callback) {
	jQuery.ajax({
		url : currentUrl,
		dataType : "html",
		success : function(response) {
			if (!GenericValidator.isBlankOrNull(divId)) {
				$("#" + divId).html($(response).find("#" + divId).html());
			} else {
				document.all[0].innerHTML = response;
			}
		}
	});
}

function submitForm(button, callback)
{
	alert(button);
	alert($($("input[name='123423']")).closest("form").attr("action"));
	return false;
	jQuery.ajax({
		url : url,
		type: "POST",
		cache: false,
		dataType : "json",
		success : function(response) {
			alert("refresh");
			refresh("showListArea");
		}
	});
	return false;
}